import http from './http';

// 获取客服信息
export const getCustomerServiceApi = () => {
  return http({
    method: 'get',
    url: '/support/getCustomerService', 
  });
};

export const updateCustomerServiceApi = (data) => {
  return http({
    method: 'post',
    url: '/support/updateCustomerService',
    data: {
      wechatId: data.wechatId,
      qrcodeUrl: data.qrcodeUrl,
      description: data.description
    },
  });
};